.red {
	background: #bc2132;
}
.orange {
	background: orange;
}
.type-red {
	color: red;
}
.triangle-2up-down {
	height: 50px;
	width: 20px;
	margin: 0 0 0 10px;
	background: url(../images/triangle-3-down.png) center no-repeat;
	cursor: pointer;
}
.story-edit-wrapper, .new-story-edit-wrapper {
	display: none;
	-webkit-box-sizing: border-box;
	-moz-box-sizing:    border-box;
	box-sizing:         border-box;
	width: 100%;
	padding: 10px;
	background: url(../images/stripe-story.png);
	border-top: 1px solid rgba(0,0,0,0.1);
	border-bottom: 1px solid rgba(0,0,0,0.1);
}
.story-credential-list {
	padding: 0px 0 20px 2%;
}
.cancel-save-buttons-wrapper {
	display: block;
	margin: 50px 0 0 0;
	overflow: auto;
}
.story-credential-list .save-btn, .story-credential-list .cancel-btn {
	margin: 0 10px 0 0;
}

/* end of global ///////////////////////////////////////////*/


.backlog-story-wrapper {
	-webkit-box-sizing: border-box;
	-moz-box-sizing:    border-box;
	box-sizing: 		border-box;
	/* width: 100%; */
	border-radius: 10px;
	border: 8px solid black;
	background: url(../images/stripe-story.png);
	padding: 6px;
	margin: 6px;
}
.backlog-story-header {
	-webkit-box-sizing: border-box;
	-moz-box-sizing:    border-box;
	box-sizing: 		border-box;
	color: white;
	overflow: auto;
}
.left-float-wrapper {
	float: left;
	width: 70%;	
}
.trigger-and-name-wrapper {
	-webkit-box-sizing: border-box;
	-moz-box-sizing:    border-box;
	box-sizing: 		border-box;
	float: left;
	width: 100%;
	overflow: auto;
	background: #6d6f71; /* Old browsers */
	background: -moz-linear-gradient(top,  #6d6f71 0%, #414042 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#6d6f71), color-stop(100%,#414042)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #6d6f71 0%,#414042 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #6d6f71 0%,#414042 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #6d6f71 0%,#414042 100%); /* IE10+ */
	background: linear-gradient(top,  #6d6f71 0%,#414042 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6d6f71', endColorstr='#414042',GradientType=0 ); /* IE6-9 */
	border-radius: 5px;
}
.triangle-2 {
	height: 50px;
	width: 20px;
	margin: 0 0 0 10px;
	background: url(../images/triangle-3-up.png) center no-repeat;
	cursor: pointer;
}
.backlog-story-name {
	margin: 17px 10px 10px 10px;
}
.percentage-wrapper {
	height: 25px;
	width: 100%;
	background: #6d6f71; /* Old browsers */
	background: -moz-linear-gradient(top,  #6d6f71 0%, #414042 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#6d6f71), color-stop(100%,#414042)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #6d6f71 0%,#414042 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #6d6f71 0%,#414042 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #6d6f71 0%,#414042 100%); /* IE10+ */
	background: linear-gradient(top,  #6d6f71 0%,#414042 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6d6f71', endColorstr='#414042',GradientType=0 ); /* IE6-9 */
	border-radius: 5px;
	margin: 1px 0 0 0;
}
.percentage-bar-mask {
	height: 5px;
	width: 90%;
	border-radius: 2px;
	background: #323134; /* Old browsers */
	background: -moz-linear-gradient(top,  #323134 0%, #989a9e 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#323134), color-stop(100%,#989a9e)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #323134 0%,#989a9e 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #323134 0%,#989a9e 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #323134 0%,#989a9e 100%); /* IE10+ */
	background: linear-gradient(top,  #323134 0%,#989a9e 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#323134', endColorstr='#989a9e',GradientType=0 ); /* IE6-9 */
	margin: 10px 0 0 10px;
	overflow: hidden;
}
.percentage-bar {
	height: 5px;
	width: 80%;
	border-radius: 2px;
	background: url(../images/stripe-yellow-black.png);
}
.percentage-number {
	font-weight: bold;
	text-align: center;
	margin: 5px 10px 0 10px;
}
.buttons-badges-wrapper {
	-webkit-box-sizing: border-box;
	-moz-box-sizing:    border-box;
	box-sizing: 		border-box;
	width: 30%;
	height: 75px;
	padding: 0 0 0 0.35%;
}
.priority-badge, .effort-badge, .type-badge {
	width: 20%;
	height: 75px;
	border-radius: 5px;
	margin: 0 1% 0 0;
}
.type-badge {
	background: #6d6f71; /* Old browsers */
	background: -moz-linear-gradient(top,  #6d6f71 0%, #414042 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#6d6f71), color-stop(100%,#414042)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #6d6f71 0%,#414042 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #6d6f71 0%,#414042 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #6d6f71 0%,#414042 100%); /* IE10+ */
	background: linear-gradient(top,  #6d6f71 0%,#414042 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6d6f71', endColorstr='#414042',GradientType=0 ); /* IE6-9 */	
}
.badge-header {
	height: 35px;
	border-radius: 5px 5px 0 0;
	font-size: 11px;
	line-height: 35px;
	text-align: center;
	background: #6d6f71; /* Old browsers */
	background: -moz-linear-gradient(top,  #6d6f71 0%, #414042 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#6d6f71), color-stop(100%,#414042)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #6d6f71 0%,#414042 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #6d6f71 0%,#414042 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #6d6f71 0%,#414042 100%); /* IE10+ */
	background: linear-gradient(top,  #6d6f71 0%,#414042 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6d6f71', endColorstr='#414042',GradientType=0 ); /* IE6-9 */
}
.badge-body {
	font-size: 18px;
	font-weight: bold;
	line-height: 35px;
	text-align: center;
}
.badge-body-type {
	font-size: 11px;
	font-weight: bold;
	line-height: 35px;
	text-align: center;
}
.backlog-story-body {
	display: none;
	margin: 6px 0 0 0;
}
.story-tab-bar {
	height: 40px;
	border: 1px solid white;
	border-radius: 5px;
	background: #f1f1f1; /* Old browsers */
	background: -moz-linear-gradient(top,  #f1f1f1 0%, #e6e7e8 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f1f1f1), color-stop(100%,#e6e7e8)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #f1f1f1 0%,#e6e7e8 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #f1f1f1 0%,#e6e7e8 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #f1f1f1 0%,#e6e7e8 100%); /* IE10+ */
	background: linear-gradient(top,  #f1f1f1 0%,#e6e7e8 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f1f1f1', endColorstr='#e6e7e8',GradientType=0 ); /* IE6-9 */
}
.tasks-btn, .comments-btn, .attachments-btn {
	height: 40px;
	font-weight: bold;
	line-height: 40px;
	text-align: center;
	text-shadow: 0 1px 0 white;
	padding: 0 15px;
	cursor: pointer;
}
.nr-of-items {
	margin: 0 0 0 3px;
}
.tab-selected {
	height: 40px;
	font-weight: bold;
	line-height: 40px;
	text-align: center;
	text-shadow: 0 1px 0 white;
	color: #32beff;
	padding: 0 15px;
	cursor: pointer;
}
.tab-body-container {
}
.tab-tasks, .tab-comments, .tab-attachments {
	display: none;
	-webkit-box-sizing: border-box;
	-moz-box-sizing:    border-box;
	box-sizing: 		border-box;
	width: 100%;
	padding: 6px;
}
.tab-tasks {
	display: block;
}
.tab-comments {
	
}
.tab-attachments {
	
}
.effort-slider {
}

/* EDIT STORY ITEMS ////////////////////////////////////////////////////////////////////////////////////////*/


.story-atributes-wrapper {
	width: 100%;
	margin: 20px 0 0 0;
	overflow: auto;
}
.story-atributes-wrapper li {
	float: left;
	margin: 0 10px 0 0;
}
.priority-numbers {
	height: 30px;
	margin: 0 20px 0 0;
}
.first {
	margin: 7px 0 0;
}
.priority-numbers li {
	float: left;
	margin: 0 5px 0 0;
}
.priority-nr, .priority-nr-5, .priority-nr-4, .priority-nr-3, .priority-nr-2, .priority-nr-1 {
	display: block;
	width: 35px;
	height: 30px;
	font-size: 14px;
	line-height: 30px;
	text-align: center;
	border-radius: 5px;
	border: 1px solid #a7a9ac;
	color: #939598;
	background: #f1f1f1; /* Old browsers */
	background: -moz-linear-gradient(top,  #f1f1f1 0%, #e6e7e8 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f1f1f1), color-stop(100%,#e6e7e8)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #f1f1f1 0%,#e6e7e8 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #f1f1f1 0%,#e6e7e8 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #f1f1f1 0%,#e6e7e8 100%); /* IE10+ */
	background: linear-gradient(top,  #f1f1f1 0%,#e6e7e8 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f1f1f1', endColorstr='#e6e7e8',GradientType=0 ); /* IE6-9 */
	cursor: pointer;
}
.priority-nr-5 {
	background: #bc2132;
	color: white;
}
.priority-nr-4 {
	background: red;
	color: white;
}
.priority-nr-3 {
	background: #f59331;
	color: white;
}
.priority-nr-2 {
	background: #d7de3b;
	color: white;
}
.priority-nr-1 {
	background: #8ec549;
	color: white;
}
.story-type {
	margin: 10px 0 0 0;
}
.effort-slider img {
 	width: 100%;
}

/* //////////////////////////////////////////////////////////////////////////////////////////// media 1024 */


@media only screen and (max-width: 1024px) {
	.left-float-wrapper {
		width: 50%;	
	}
	.buttons-badges-wrapper {
		width: 50%;
	}
	.percentage-bar-mask {
		height: 5px;
		width: 70%;
	}
}

/* //////////////////////////////////////////////////////////////////////////////////////////// media 480 */


@media only screen and (max-width: 480px) {
	.story-edit-wrapper, .new-story-edit-wrapper {
		width: 100%;
		background: none;
	}
	.left-float-wrapper {
		width: 100%;	
	}
	.buttons-badges-wrapper {
		width: 100%;
		margin: 1% 0 0 0;
		padding: 0;
	}
	.tasks-btn, .comments-btn, .attachments-btn {
		height: 40px;
		line-height: 40px;
		text-align: center;
		font-size: 11px;
		padding: 0 10px;
	}

}